<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<my-component></my-component>
		</div>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script>
			var Child = {
				template: "<div><p>我是色板</p>\
				<input type='color' />\
				</div>"
			}
			var app = new Vue({
				el: '#app',
				components: {
					'my-component': Child
				}
			});
		</script>

	</body>
</html>